<?php 
	require_once("classes/Database.php");
	
	$db = new Database();
	if( $db->connect('127.0.0.1','root','111111','depot_development') ){
		$resultset = $db->query('select * from articles');
		
		while( $record = mysql_fetch_row($resultset) ){
				foreach ( $record as $field ){
				echo($field."&nbsp;&nbsp;");
			}
			echo("<br />");
		}
		$db->disconnect();
	}else{
		echo("<font color='red'>I cann't connect database</font>");
	}
?>